feat(parity): Item B Phase 1 substrate — live-delivery-v3 daemon-IPC attachment primitive#91
Merged
Merged
Conversation
…attachment primitive Parity port of cueapi/cueapi#805 (merged 03:07:18Z). Mike Q-B ratify locked the ASYNC fire-accept dispatcher path 2026-05-12 ~00:38Z. Direction of parity: private-leads, OSS-lags. ## Files added - alembic/versions/035_agent_live_sessions_ipc_attachment.py — OSS migration (renumbered from private's 063; down_revision=034 matches OSS alembic head) - app/schemas/ipc_attachment.py (verbatim from private) - app/services/ipc_attachment_service.py (verbatim from private) - app/routers/ipc_attachments.py (verbatim from private) - tests/test_ipc_attachments.py (verbatim from private; 42 tests pass) ## Files modified - app/models/agent_live_session.py — added 4 cols (ipc_session_token, transport, daemon_id, last_reconciled_at) + 2 indexes (ix_agent_live_sessions_daemon, ix_agent_live_sessions_transport) + CheckConstraint valid_transport - app/routers/cues.py — added _build_ipc_delivery_metadata pure helper + fire_cue stamps execution.outcome_metadata when target row has transport='ipc' - app/main.py — registered ipc_attachments.router + ipc_attachments.reconcile_router - parity-manifest.json — 3 new entries + 3 deviation note bumps ## Schema (migration 035) All 4 columns nullable/defaulted so existing v2.x rows continue unchanged: - ipc_session_token VARCHAR(32) — daemon-issued ULID - transport VARCHAR(8) NOT NULL DEFAULT 'poll' + CHECK IN ('ipc','poll') - daemon_id UUID — stable per-install Desktop daemon identity - last_reconciled_at TIMESTAMPTZ ## Local: 42/42 tests pass. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Parity checkThis PR modifies files tracked in
Please confirm one of the following in a reply or PR description update:
This is a soft check — it does not block merge. The goal is visibility, not friction. See HOSTED_ONLY.md for the open-core policy. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Parity port of cueapi/cueapi#805 (merged 03:07:18Z). Mike Q-B ratify locked the ASYNC fire-accept dispatcher path 2026-05-12 ~00:38Z.
Design doc: https://trydock.ai/mike/live-delivery-v3-build-hub
Direction of parity: private-leads, OSS-lags.
What ships
5 new files + 3 modifications:
OSS-specific adaptations
Schema (migration 035, backwards-compat zero-churn)
All 4 columns nullable/defaulted so existing v2.x rows continue unchanged:
Plus 2 indexes (`ix_agent_live_sessions_daemon`, `ix_agent_live_sessions_transport`).
Test plan
🤖 Generated with Claude Code